package net.hmr_radio.hmrbot.controller.bot.create;

import net.hmr_radio.hmrbot.controller.BaseLoggedInController;

import org.slim3.controller.Navigation;

import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;

public class IndexController extends BaseLoggedInController {

    private UserService userService = UserServiceFactory.getUserService();

    @Override
    public Navigation doRun() throws Exception {
        requestScope("userId", userService.getCurrentUser().getUserId());
        return forward("index.jsp");
    }
}
